Customize *CSV Output Fields
To customize the *CSV output by re-ordering fields, removing fields, and changing column headings, select 21. Set *CSV Output Fields Order from the Maintenance Menu screen (STRJR > 82) . The SEU Edit screen appears showing the SMZJDTA/JRSOURCE JRCSV member.
Columns . . . : 1 80 Edit SMZJDTA/JRSOURCE SEU==> JRCSV FMT LF .....A..........T.Name++++++.Len++TDpB......Functions++++++++++++++++++++++++ *************** Beginning of data ******************************************* 0001.00 A R JRDATAR PFILE QTEMP/TMPQRY) 140930 0002.00 **************************************************************** 140930 0003.00 * FORMAT OF *CSV OUTPUT * 140930 0004.00 * To modify the structure of *CSV output, you may: * 140930 0005.00 * - Remove a field by deleting it (or changing the A to A*) * 140930 0006.00 * - Reorder the fields * 140930 0007.00 * - Change the column heading * 140930 0008.00 * This source will be used at run time. DO NOT COMPILE IT. * 141102 0009.00 * Changes apply to all *CSV output of AP-Journal * 140930 0010.00 **************************************************************** 140930 0011.00 A JOSEQN# COLHDG('Seq' 'Number') 140930 0012.00 A JOENTT COLHDG('Type') 140930 0013.00 A*** JOTSTP COLHDG('TimeStamp') 220501 0014.00 A*** JOJOB COLHDG('Job' 'Name') 220501 0015.00 A*** JOUSER COLHDG('Job' 'User') 220501 0016.00 A*** JONBR COLHDG('Job' 'Number') 220501 0017.00 A*** JOPGM COLHDG('Program') 220501 0018.00 A*** *** JOPGMLIB COLHDG('Program' 'Library')220501 0019.00 A JOOBJ COLHDG('Object' ) 140930 F3=Exit F4=Prompt F5=Refresh F9=Retrieve F10=Cursor F11=Toggle F16=Repeat find F17=Repeat change F24=More keys (C) COPYRIGHT IBM CORP. 1981, 2013. |
Customize the output by following the instructions within the JRCSV member.